//
//  ColorConfigHeader.h
//  Friendsback
//
//  Created by 宋质彬 on 2018/3/5.
//  Copyright © 2018年 宋质彬. All rights reserved.
//

#ifndef ColorConfigHeader_h
#define ColorConfigHeader_h



#define BACK_COLOR  [@"#444444" hexStringToColor]

#define BLUE_COLOR  [@"#7874F7" hexStringToColor]

#define WHITE_COLOR  [@"#FFFFFF" hexStringToColor]

#define BACKGROUND_COLOR  [@"#F2F2F2" hexStringToColor]

#define LINE_COLOR  [@"#EDEDED" hexStringToColor]

#define GRAY_COLOR  [@"#888888" hexStringToColor]

#define RED_COLOR  [@"#FF3636" hexStringToColor]

#define THEME_COLOR  [@"#2BA6FF" hexStringToColor]





#define iOS9LaterNew ([UIDevice currentDevice].systemVersion.floatValue >= 9.0f)

#define REGULAR_FONT(font) iOS9LaterNew ? [UIFont fontWithName:@"PingFangSC-Regular" size:font*AutoSizeScaleXX] : [UIFont systemFontOfSize:font*AutoSizeScaleXX]

#define LIGHT_FONT(font)  iOS9LaterNew ? [UIFont fontWithName:@"PingFangSC-Light" size:font*AutoSizeScaleXX] : [UIFont systemFontOfSize:font*AutoSizeScaleXX]

#define THIN_FONT(font)  iOS9LaterNew ? [UIFont fontWithName:@"PingFangSC-Thin" size:font*AutoSizeScaleXX] : [UIFont systemFontOfSize:font*AutoSizeScaleXX]

#define MEDIUM_FONT(font)  iOS9LaterNew ? [UIFont fontWithName:@"PingFangSC-Medium" size:font*AutoSizeScaleXX] : [UIFont systemFontOfSize:font*AutoSizeScaleXX]

#define HEAVY_FONT(font) iOS9LaterNew ? [UIFont fontWithName:@"PingFangSC-Heavy" size:font*AutoSizeScaleXX] : [UIFont systemFontOfSize:font*AutoSizeScaleXX]

#define BOLD_FONT(font)  iOS9LaterNew ? [UIFont fontWithName:@"PingFangSC-bold" size:font*AutoSizeScaleXX] : [UIFont systemFontOfSize:font*AutoSizeScaleXX]


#endif /* ColorConfigHeader_h */
